package cn.kxhp.mybatis3.pojo;

import cn.kxhp.mybatis3.entity.Role;
import cn.kxhp.mybatis3.entity.User;

import java.util.List;

/**
 * @author Lianxw
 * @since 2022/3/28
 */
public class UserRoleDTO extends User {
    private List<Role> roles;

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }
}
